home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / raymovi2.arc / COLORS.H < prev    next >
Text File  |  1988-12-21  |  2KB  |  79 lines

  1. /* colors.h    defines palletes 
  2.  
  3. OBJECTS:    |    cr    cg    cb
  4. ----------------+-------------------------------
  5. balls:        |
  6.    white    |    1    1    1
  7.    red        |    1    0    0
  8.         |
  9. floor:        |
  10.    black cracks    |    0    0    0
  11.    white tiles     |    1    1    1
  12.    blue tiles    |    0    0    1
  13.  
  14.  
  15. MODE (#colors)          generated intensities    |    color number output
  16. ind:            cr    cg    cb    |    white    red    blue
  17. ------------------------------------------------+------------------------------
  18. 1            -ign-    -ign-    x    |    1-15,0    -
  19. 2            x    -ign-    x    |    1-6,0    8-15
  20. 3            x    x    x    |    1-5,0    1,6-10    1,11-15
  21.  
  22. /**/
  23.             /* ind = 1: 1 color */
  24. colors(7,7,7)    /* all white-ish */
  25. colors(0,0,0)    /* black */
  26. colors(0,0,1)    /* somewhat lighter */
  27. colors(1,1,1)
  28. colors(1,1,2)
  29. colors(2,2,2)        /* note: since there are only 8 grey scales in the */
  30. colors(2,2,3)        /*       hardware (per color) and we generate 16   */
  31. colors(3,3,3)        /*     some hue variation will be produced as       */
  32. colors(3,3,4)        /*     the intensity varies               */
  33. colors(4,4,4)
  34. colors(4,4,5)
  35. colors(5,5,5)
  36. colors(5,5,6)
  37. colors(6,6,6)
  38. colors(6,6,7)
  39. colors(6,7,7)    /* almost white */
  40.  
  41.             /* ind = 2: 2 color */
  42. colors(7,7,7)    /* white */
  43. colors(0,0,0)
  44. colors(1,1,1)
  45. colors(2,2,2)
  46. colors(3,3,3)
  47. colors(4,4,4)
  48. colors(5,5,5)
  49. colors(6,6,6)
  50.  
  51. colors(0,0,0)    /* red */
  52. colors(1,0,0)
  53. colors(2,0,0)
  54. colors(3,0,0)
  55. colors(4,0,0)
  56. colors(5,0,0)
  57. colors(6,0,0)
  58. colors(7,0,0)
  59.  
  60.             /* ind = 3: 3 color */
  61. colors(7,7,7)    /* white */
  62. colors(0,0,0)    
  63. colors(2,2,2)
  64. colors(4,4,4)
  65. colors(5,5,5)
  66. colors(6,6,6)
  67.  
  68. colors(3,0,0)    /* red */
  69. colors(4,0,0)
  70. colors(5,0,0)
  71. colors(6,0,0)
  72. colors(7,0,0)
  73.  
  74. colors(0,0,3)    /* blue */
  75. colors(0,0,4)
  76. colors(0,0,5)
  77. colors(0,0,6)
  78. colors(0,0,7)
  79.